import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-tree9',
  templateUrl: './tree9.component.html',
  styleUrls: ['./tree9.component.css']
})
export class Tree9Component implements OnInit {

  constructor() { }

  ngOnInit() {
  }

  nodes = [
    {
      title: 'parent 1',
      key: '100',
      expanded: true,
      icon: 'anticon anticon-smile-o',
      children: [
        { title: 'leaf', key: '1001', icon: 'anticon anticon-meh-o', isLeaf: true },
        { title: 'leaf', key: '1002', icon: 'anticon anticon-frown-o', isLeaf: true }
      ]
    }
  ];
}
